[INFO] cloning repository https://github.com/Kile-Asmussen/ralc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kile-Asmussen/ralc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKile-Asmussen%2Fralc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKile-Asmussen%2Fralc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 77d49d5ad320852afbe98a3470e98c5d6734226c
[INFO] fixing Kile-Asmussen/ralc against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKile-Asmussen%2Fralc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kile-Asmussen/ralc
[INFO] finished tweaking git repo https://github.com/Kile-Asmussen/ralc
[INFO] tweaked toml for git repo https://github.com/Kile-Asmussen/ralc written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kile-Asmussen/ralc on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kile-Asmussen/ralc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded assert-impl v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 43289b97fe0973ed4e44434e66ad14d422cd6ea35da4c9c4aac6541a8fd11f24
[INFO] running `Command { std: "docker" "start" "43289b97fe0973ed4e44434e66ad14d422cd6ea35da4c9c4aac6541a8fd11f24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "43289b97fe0973ed4e44434e66ad14d422cd6ea35da4c9c4aac6541a8fd11f24" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43289b97fe0973ed4e44434e66ad14d422cd6ea35da4c9c4aac6541a8fd11f24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "43289b97fe0973ed4e44434e66ad14d422cd6ea35da4c9c4aac6541a8fd11f24" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking bumpalo v3.19.1
[INFO] [stderr]     Checking ralc-internals v0.1.0 (/opt/rustwide/workdir/ralc-internals)
[INFO] [stderr]     Checking assert-impl v0.1.3
[INFO] [stdout] warning: unused import: `core::alloc`
[INFO] [stdout]  --> ralc-internals/src/ledger.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::alloc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Allocator`, `Layout`, and `marker::PhantomData`
[INFO] [stdout]  --> ralc-internals/src/ledger.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     alloc::{Allocator, Layout},
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 4 |     marker::PhantomData,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0207]: the type parameter `A` is not constrained by the impl trait, self type, or predicates
[INFO] [stdout]   --> ralc-internals/src/ledger.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, A: Account, L: LedgerAllocator<CHUNK_SIZE>, const CHUNK_SIZE: usize>
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          unconstrained type parameter
[INFO] [stdout]    |          help: remove the unused type parameter `A`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::alloc`
[INFO] [stdout]  --> ralc-internals/src/ledger.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::alloc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Allocator`, `Layout`, and `marker::PhantomData`
[INFO] [stdout]  --> ralc-internals/src/ledger.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     alloc::{Allocator, Layout},
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 4 |     marker::PhantomData,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0207]: the type parameter `A` is not constrained by the impl trait, self type, or predicates
[INFO] [stdout]   --> ralc-internals/src/ledger.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, A: Account, L: LedgerAllocator<CHUNK_SIZE>, const CHUNK_SIZE: usize>
[INFO] [stdout]    |          ^-----------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          unconstrained type parameter
[INFO] [stdout]    |          help: remove the unused type parameter `A`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing function parameter `allocator`
[INFO] [stdout]   --> ralc-internals/src/ledger.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |             ptr: NonNull::from_ref(&*allocator.allocate_chunk()),
[INFO] [stdout]    |                                      --------- `allocator` is borrowed here
[INFO] [stdout] 39 |         };
[INFO] [stdout] 40 |         Self { current, allocator }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `allocator` because it is borrowed
[INFO] [stdout]   --> ralc-internals/src/ledger.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, A: Account, L: LedgerAllocator<CHUNK_SIZE>, const CHUNK_SIZE: usize>
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn new(allocator: L) -> Self {
[INFO] [stdout]    |            --------- binding `allocator` declared here
[INFO] [stdout] 37 |         let current = FreeListPtr {
[INFO] [stdout] 38 |             ptr: NonNull::from_ref(&*allocator.allocate_chunk()),
[INFO] [stdout]    |                                      --------- borrow of `allocator` occurs here
[INFO] [stdout] 39 |         };
[INFO] [stdout] 40 |         Self { current, allocator }
[INFO] [stdout]    |         ----------------^^^^^^^^^--
[INFO] [stdout]    |         |               |
[INFO] [stdout]    |         |               move out of `allocator` occurs here
[INFO] [stdout]    |         returning this value requires that `allocator` is borrowed for `'a`
[INFO] [stdout]    |
[INFO] [stdout] help: if `L` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> ralc-internals/src/ledger.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, A: Account, L: LedgerAllocator<CHUNK_SIZE>, const CHUNK_SIZE: usize>
[INFO] [stdout]    |                      ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 38 |             ptr: NonNull::from_ref(&*allocator.allocate_chunk()),
[INFO] [stdout]    |                                      --------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0207, E0505, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0207`.
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing function parameter `allocator`
[INFO] [stdout]   --> ralc-internals/src/ledger.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |             ptr: NonNull::from_ref(&*allocator.allocate_chunk()),
[INFO] [stdout]    |                                      --------- `allocator` is borrowed here
[INFO] [stdout] 39 |         };
[INFO] [stdout] 40 |         Self { current, allocator }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `allocator` because it is borrowed
[INFO] [stdout]   --> ralc-internals/src/ledger.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, A: Account, L: LedgerAllocator<CHUNK_SIZE>, const CHUNK_SIZE: usize>
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn new(allocator: L) -> Self {
[INFO] [stdout]    |            --------- binding `allocator` declared here
[INFO] [stdout] 37 |         let current = FreeListPtr {
[INFO] [stdout] 38 |             ptr: NonNull::from_ref(&*allocator.allocate_chunk()),
[INFO] [stdout]    |                                      --------- borrow of `allocator` occurs here
[INFO] [stdout] 39 |         };
[INFO] [stdout] 40 |         Self { current, allocator }
[INFO] [stdout]    |         ----------------^^^^^^^^^--
[INFO] [stdout]    |         |               |
[INFO] [stdout]    |         |               move out of `allocator` occurs here
[INFO] [stdout]    |         returning this value requires that `allocator` is borrowed for `'a`
[INFO] [stdout]    |
[INFO] [stdout] help: if `L` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> ralc-internals/src/ledger.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'a, A: Account, L: LedgerAllocator<CHUNK_SIZE>, const CHUNK_SIZE: usize>
[INFO] [stdout]    |                      ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 38 |             ptr: NonNull::from_ref(&*allocator.allocate_chunk()),
[INFO] [stdout]    |                                      --------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0207, E0505, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0207`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ralc-internals` (lib test) due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ralc-internals` (lib) due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "43289b97fe0973ed4e44434e66ad14d422cd6ea35da4c9c4aac6541a8fd11f24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43289b97fe0973ed4e44434e66ad14d422cd6ea35da4c9c4aac6541a8fd11f24", kill_on_drop: false }`
[INFO] [stdout] 43289b97fe0973ed4e44434e66ad14d422cd6ea35da4c9c4aac6541a8fd11f24
